package main

import "fmt"

func main() {
	ch := make(chan string)
	go func() {
		fmt.Println("this is goroutine")
		ch <- "goroutine has done"
	}()
	fmt.Println("this is main")
	v := <-ch
	fmt.Println("v is ", v)
}
